The previous section mentioned some of the content of the recursive query, but said very little, but also very general, this section will be based on the principle and the case two aspects of DNS recursion and iterative query.
Before that, we need to learn some background to better understand today's topic.
In the Internet, a smooth resolution of a domain name is inseparable from two types of domain name
For Windows 71 @echo off 2 set DNS "Local Area Connection" static 114.114.114.114 primary3 netsh interface ip add DNS "Local Area Connection" 8.8.8.84
Ipconfig/flushdnsFor Windows 101 @echo off 2 set DNS "Ethernet" static 223.5.5.5 primary3 netsh interface ip add DNS "Ethernet" 8.8.8.84 Ipconfig/flushdnsCreate a n
), at this time the front two are not found (professional terminology called No hit), the request for local domain name server ldns (DNS server) to resolve, this server in the city is a close to you corner, not very far from you, and this server performance is very good, Usually cache the domain name resolution results, about 80% of the domain name resolution here to complete.(4), if Ldns has not yet, can only jump to root server request parsing(5), t
DNS recursive query and iterative query
Summary
There has always been confusion about the "recursion" and "iteration" approaches to DNS queries. Most people just tell you. "DNS clients request recursive queries to DNS servers,"
Build a master-slave DNS server and explain important transfer and recursive attributes
1. The main function of allow-recursion is to allow recursive queries on hosts to prevent DNS servers from hanging up or wasting network resources.
For example, only recursive
After studying for a while, I was confused for a while, and finally understood. The simplest way to understand it is as follows:
Recursion: The method between the client and DNS. The client entrusts its DNS to query the ip address.
Iteration: The method between DNS servers. After the client uses recursion to communicate with
iterative queries and recursive queries are two types of requests that can be sent to a domain name server. Recursive queries are the most common requests sent to a local domain name server. When the local domain name server accepts the client's query request, the local domain name server will try to find the answer on behalf of the client, while the client is just waiting when the domain name server perfor
Http://zhangbin.blog.51cto.com/666869/286257
1. recursive query:Generally, recursive queries are performed between the client and the server. After a request is sent from the client to the DNS server, if the DNS server itself cannot be resolved, a query request is sent to another
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.